In addition to our own properties and functions, each enum constant has a name and an ordinal. The name is the symbolic name that we gave the constant (e.g., OK) as a string. The ordinal is the 0-based index of the constant in the list of constants.

You can learn more about this in:
Run Edit